Repository navigation
release: ScanLink 0.8.1b1 - #8
Merged
Merged
Conversation
A finished scan was never posted to its callback_url: since 36249b6 (2026-04-28) _process_job handed _send_callback the public job snapshot, which carries no URL. ScanWorker._start_callback now posts the stored PDF on its own thread (connect 5 s, read 30 s, no redirects, 2xx only). Delivery alone would let any page post a scanned document to a host of its choosing through a scanlink:// link, so SiteRegistry.allows_callback limits the destination to an allowed website: a browser request may name only its own website or the sites linked with it; a local tool or scanlink:// link may name any linked or listed website. The worker checks at submission (400 callback_not_allowed; a refused scanlink:// launch never scans) and again before sending, and fails closed without a guard. Jobs report callback.state; the PDF stays available to poll either way. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Callbacks delivered, to linked websites only (owner: "deliver callbacks"). Paired with the DjangoLux 1.17 fix line; DjangoLux never sends callback_url, so no client change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ScanLink 0.8.1b1, the first beta of the 0.8.1 fix, released alongside DjangoLux 1.17.0b1 and Composer 1.11.0b1.
Callbacks are delivered, to linked websites only (security). A finished scan was never posted to its
callback_url. Since 2026-04-28,_process_jobpassed_send_callbackthe public job snapshot, which carries no URL.ScanWorker._start_callbacknow posts the stored PDF on its own thread:SiteRegistry.allows_callbacklimits callbacks to websites the user has linked. Anything else is refused.See
## v0.8.1b1inCHANGELOG.md.Verification
After merge
Tag
v0.8.1b1onmain(the owner's call).🤖 Generated with Claude Code